package com.ellwood.copyright.infrastructure.softConf.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @ProjectName: ell-copyright-pro
 * @PackageName: com.ellwood.copyright.infrastructure.dto.softConf
 * @ClassName: TableDefinitionDTO
 * @Description: // 创建数据表信息dto
 * @Author: Ellwood
 * @CreateDate: 2024/11/19 - 14:18
 * @Version: V1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name="表信息")
@ToString
public class TableInfoDTO {

    @Schema(description = "表名")
    private String tableName;

    @Schema(description = "表描述")
    private String tableDescription;

    @Schema(description = "字段信息集合")
    private List<FieldInfoDTO> fields;

}
